﻿#pragma once
#include "zyCtrol.h"

namespace BlackMoonUI {

	class zyCommandCtrol : public  zyCtrol
	{
	public:
		zyCommandCtrol();
		~zyCommandCtrol();
		static void  WINAPI zyCommand_Destroy(zyObject* obj);
		static LRESULT WINAPI zyCommand_WndProc(zyObject* obj, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL* bHandled);
		static LRESULT WINAPI zyCommand_ChildWndProc(zyObject* obj, HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, BOOL* bHandle);
		void OnNCDestroy();
		COLORREF 文本色(COLORREF 参数_文本色=0);
		COLORREF 背景色(COLORREF 参数_背景色=0);
	};

}

